Eclipse Platform
Pre-release 3.0

org.eclipse.team.core.subscribers
Interface ITeamResourceChangeListener

All Superinterfaces:
EventListener

public interface ITeamResourceChangeListener
extends EventListener

A resource state change listener is notified of changes to resources regarding their team state.

Clients may implement this interface.

See Also:
ITeamManager#addResourceStateChangeListener(IResourceStateChangeListener)

Method Summary
 void teamResourceChanged(TeamDelta[] deltas)
          Notifies this listener that some resources' team properties have changed.
 

Method Detail

teamResourceChanged

public void teamResourceChanged(TeamDelta[] deltas)
Notifies this listener that some resources' team properties have changed. The changes have already happened. For example, a resource's base revision may have changed. The resource tree is open for modification when this method is invoked, so markers can be created, etc.

Note: This method is called by Team core; it is not intended to be called directly by clients.

Parameters:
deltas - detailing the kinds of team changes [Note: The changed state event is purposely vague. For now it is only a hint to listeners that they should query the provider to determine the resources new sync info.]

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.